package edu.spec.wyn.week08.book.unit4.two;

public class Test {
    public static void main(String[] args) {
        Feeder feeder=new Feeder();
        Animal animal=new Dog();
        Food food=new Bone("骨头");
        feeder.feed(animal,food);
        food=new Fish("鱼");
        feeder.feed(animal,food);
    }
}
